<?php
function KamusUmum($kata){
// cari di database
	$sql = "SELECT * from stopwords where kataumum ='$kata' LIMIT 1";
//echo $sql.'<br/>';
	$result = mysql_query($sql) or die(mysql_error());
	if(mysql_num_rows($result)==1){
		return true; // True jika ada
	}else{
		return false; // jika tidak ada FALSE
	}
}



function stopwords($kata){
	if(KamusUmum($kata)){
		$kata="";
	}
	return $kata." ";
}
?>